<template>
  <div id="app">
    <div v-for="(item,index) in shoplist" :key=index>
      <p>{{item.mtWmPoiId}}</p>
      <p>{{item.name}}</p>
      <p>{{item.wmPoiScore}}</p>
    </div>
  </div>
</template>

<script>


import axios from 'axios'
export default {
  data(){
    return{
      shoplist:[]
    }
  },
    mounted(){
    axios.get('/api/shop/list').then((res)=>{
       this.shoplist = res.data.list
      //  console.log(this.shoplish);
    })
  },
}
</script>

<style lang="scss">
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
</style>
